package com.neuedu.weishi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.util.Date;
/**
* Author lu
* Date  2025-08-26 09:11:00
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Alias("follow")
@TableName(value = "follow")
public class Follow implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    *主键自增长
    */
    @TableField(value = "follow_id")
    @TableId(type = IdType.AUTO)
    private Integer followId;

    /**
    * 被关注会员ID
    */
    @TableField(value = "followed_member_id")
    private Integer followedMemberId;
    /**
    * 关注会员ID
    */
    @TableField(value = "follower_member_id")
    private Integer followerMemberId;
    /**
    * 关注时间
    */
    @TableField(value = "follow_time")
    private Date followTime;
}